// import pages from "./autoLoad";

export default [
  {
    path: "/",
    name: "index",
    redirect: "/home"
  },
  {
    path: "/home",
    name: "home",
    meta: {
      view: "TabBar",
      key: 0
    },
    component: () => import("../views/Home"),
    props: true
  },
  {
    path: "/Classify",
    name: "Classify",
    meta: {
      view: "TabBar",
      key: 1
    },
    component: () => import("../views/Classify"),
    props: true
  },
  {
    path: "/Discover",
    name: "Discover",
    meta: {
      view: "TabBar",
      key: 2
    },
    component: () => import("../views/Discover"),
    props: true
  },
  {
    path: "/ShoppingCart",
    name: "ShoppingCart",
    meta: {
      view: "TabBar",
      key: 3
    },
    component: () => import("../views/ShoppingCart"),
    props: true
  },
  {
    path: "/My",
    name: "My",
    meta: {
      view: "TabBar",
      key: 4
    },
    component: () => import("../views/My"),
    props: true
  }
];
